package com.lanchetech.bean.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 通用分页查询类
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageReq {
    private int pageNo = 1;
    private int pageSize = 10;
    Long id;
    String title;
    String name;
    String phone;
    String username;
    String nickname;
    Date startTime;
    Date endTime;
    Date now;
    Date createdAt;
    Integer scene;
    Byte type;
    Byte status;
    Byte auditStatus;
    Integer hidden;
    Long province;
    Long city;
    Long area;
    Long userId;
    String search;
    String sortKey;
    String sortType;
    String tradeNo;
    Long relateId;
    Long spuId;
    Long skuId;
    Long activityId;
    String activityType;
    Long roleId;
    Long columnId;
    Long courseId;
    Long commentId;
    Long shopId;
    Long orderId;
    Long jobId;
    Long rid;
    Long pid;
    Long treeId;
    Long farmId;
    Long kind;
    Integer level;
    Integer sorts;
    BigDecimal latitude;
    BigDecimal longitude;

    List<Byte> types;
    Byte commonStatus;
    Byte orderType;
    Byte tradeType;
    String catalog;
    String salary;
    String context;

    Long tenantId;
    Byte role;

    Long firstTagId;
    Long selectionApplyId;
    String company;
    Byte logisticsStatus;
    Byte payType;
    Byte shopLevel;
    Byte rewardType;
    List<Long> ids;
}
